package com.ocean.recommendationserver.realtimerecommend.service;

import com.ocean.recommendationserver.realtimerecommend.entity.Rating;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ocean
 * @since 2021-07-18
 */
public interface IRatingService extends IService<Rating> {

    /**
     * 给一部电影打分
     * @param uid
     * @param mid
     * @param rating
     */
    Rating ratingForAMovie(Integer uid, Integer mid, Double rating);
}
